package com.school.graduation.model;

import cn.bmob.v3.BmobObject;

/**
 * 支付记录
 * Created by U-nookia on 2016/12/20.
 */

public class PaymentRecord extends BmobObject{
    private int uuid;
    private Student studentPay;//支付人
    private Order order; //订单
    private Goods goods; //货物
    private float cost;  //支付金额
    private String time;  //支付时间
    private int paymentMethod; //支付渠道
    private int paymentProof;  //支付渠道

    public float getCost() {
        return cost;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Student getStudentPay() {
        return studentPay;
    }

    public void setStudentPay(Student studentPay) {
        this.studentPay = studentPay;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getUuid() {
        return uuid;
    }

    public void setUuid(int uuid) {
        this.uuid = uuid;
    }

    public int getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(int paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public int getPaymentProof() {
        return paymentProof;
    }

    public void setPaymentProof(int paymentProof) {
        this.paymentProof = paymentProof;
    }

    @Override
    public String toString() {
        return "PaymentRecord{" +
                "uuid=" + uuid +
                ", studentPay=" + studentPay +
                ", order=" + order +
                ", goods=" + goods +
                ", cost=" + cost +
                ", time='" + time + '\'' +
                ", paymentMethod=" + paymentMethod +
                ", paymentProof=" + paymentProof +
                '}';
    }
}
